//
//  ViewController.m
//  Mahjong
//
//  Created by 饶首建 on 17/5/15.
//  Copyright © 2017年 com.ikamobile.com. All rights reserved.
//

#import "ViewController.h"
#import "MainVC.h"
#import "ConfigVC.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

- (IBAction)beginAction:(id)sender {
    ConfigVC *vc = [[ConfigVC alloc]init];
    vc.VC = self;
//    CATransition *animation = [CATransition animation];
//    animation.duration = 0.4;
//    animation.timingFunction = UIViewAnimationCurveEaseInOut;
//    animation.type = kCATransitionMoveIn;
//    [self.view.window.layer addAnimation:animation forKey:nil];
    [self presentViewController:vc animated:YES completion:^{
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
